package me.keiwu.admin.dao;

import me.keiwu.admin.domain.WXQRCode;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by kei on 08/12/2017.
 */
public interface WXQRCodeDao extends JpaRepository<WXQRCode, Integer>, JpaSpecificationExecutor<WXQRCode> {

    Integer countBySceneStr(String sceneStr);

    WXQRCode findBySceneStr(String sceneStr);

}
